package com.maket.scxx.service;

import java.util.List;
import com.maket.scxx.domain.WlMaterialsAndMesBom;

/**
 * 物料与BOMService接口
 * 
 * @author ruoyi
 * @date 2024-07-01
 */
public interface IWlMaterialsAndMesBomService 
{
    /**
     * 查询物料与BOM
     * 
     * @param wId 物料与BOM主键
     * @return 物料与BOM
     */
    public WlMaterialsAndMesBom selectWlMaterialsAndMesBomByWId(Long wId);

    /**
     * 查询物料与BOM列表
     * 
     * @param wlMaterialsAndMesBom 物料与BOM
     * @return 物料与BOM集合
     */
    public List<WlMaterialsAndMesBom> selectWlMaterialsAndMesBomList(WlMaterialsAndMesBom wlMaterialsAndMesBom);

    /**
     * 新增物料与BOM
     * 
     * @param wlMaterialsAndMesBom 物料与BOM
     * @return 结果
     */
    public int insertWlMaterialsAndMesBom(WlMaterialsAndMesBom wlMaterialsAndMesBom);

    /**
     * 修改物料与BOM
     * 
     * @param wlMaterialsAndMesBom 物料与BOM
     * @return 结果
     */
    public int updateWlMaterialsAndMesBom(WlMaterialsAndMesBom wlMaterialsAndMesBom);

    /**
     * 批量删除物料与BOM
     * 
     * @param wIds 需要删除的物料与BOM主键集合
     * @return 结果
     */
    public int deleteWlMaterialsAndMesBomByWIds(Long[] wIds);

    /**
     * 删除物料与BOM信息
     * 
     * @param wId 物料与BOM主键
     * @return 结果
     */
    public int deleteWlMaterialsAndMesBomByWId(Long wId);
}
